bitkeeper revision 1.1159.258.59 (423a99c28LSWeyvb5zB2Je7BjDgLww)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 18 Mar 2005 09:05:06 +0000 (09:05 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 18 Mar 2005 09:05:06 +0000 (09:05 +0000)
Fix install script to follow symlinks.
Signed-off-by: Paul Larson <pl@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
install.sh

index 491e5ab56fa04d8e58ec98a98250845064af8ed8..a8ab96134c0bb987b3909f3a83822bf09ae85831 100755 (executable)
@@ -32,9 +32,7 @@ do
   [ -e "$l" ] && ln -fs "$l" vmlinuz${v}-xenU
 done
 cd -
-cp -fdR $src/* $dst
-# hack to fixup the case that init.d is a symlink
-cp -fdR $src/etc/init.d/* $dst/etc/init.d/
+cp -fdRL $src/* $dst
 echo "All done."
 
 echo "Checking to see whether prerequisite tools are installed..."